package edu.hrbeu.crc.pojo.query;

import lombok.Data;
import org.springframework.ai.tool.annotation.ToolParam;

import java.time.LocalDate;

@Data
public class BillSaveQuery {

    @ToolParam(required = false, description = "类型：0-支出，1-收入")
    private Integer type;
    @ToolParam(required = false, description = "金额开始范围（查询大于等于此金额的账单），至多保留两位小数")
    private Double amount;
    @ToolParam(required = false, description = "日期，对应json存储格式为yyyy-MM-dd")
    private LocalDate date;
    @ToolParam(required = false, description = "分类名称")
    private String categoryName;
    @ToolParam(required = false, description = "描述")
    private String remark;
}